package itsm.isperp.module.repository.sparepart;

import itsm.isperp.framework.data.mybatis.dao.TreeNodeMapper;
import itsm.isperp.module.entity.sparepart.SptSparepartCategory;

import java.util.List;

import org.springframework.stereotype.Repository;

/// <summary>
/// 描述:spt_sparepart_category
/// 创建者:zhouhg
/// 创建时间:2013/7/9
/// </summary>

@Repository
public interface SptSparepartCategoryMapper extends
		TreeNodeMapper<SptSparepartCategory> {
	/**
	 * 根据父级id查找
	 * 
	 * @param parentId
	 *            父级id
	 * @return 列表
	 */
	public List<SptSparepartCategory> findByParentId(String parentId);

}